package logic.bean;

import java.io.Serializable;
import java.util.List;


/***
 * 订餐外卖菜单列表bean
 * 
 * @author hss
 */
public class OrderFoodListBean
        implements
        Serializable
{
	
	/**
	 * "activityPrice": 0,//活动价格，如果有活动，则显示此价格，int类型，单位分
	 * "detailUrl": "",//菜品的详情url，String类型
	 * "foodId": 1,//菜品主键编号，long类型
	 * "foodName": "油爆鲜虾",//菜品名称，String类型
	 * "hasActivity": "n",//是否有活动，y=有，n=没有，String类型
	 * "peppery_grade": 2,.//辣度，int类型，0=不辣，1-5：辣的级别
	 * "picUrl":
	 * "https://ss0.baidu.com/73t1bjeh1BF3odCf/it/u=513702773,2086579472&fm=96&s=7C95D6BA7083D0E2029E103C0300A06B"
	 * ,//封面url，String类型
	 * "price": 2500,//价格，int类型，单位分
	 * "recommendNum": 0,//推荐量。int类型
	 * "sellNum": 0//销售量，int类型
	 * "detailDesc": "不说啥",//菜品介绍，String类型
	 * "positions ": [1,2,3]//菜品所在分类位置，List<int>类型，1==自主选菜的分类类型，2==委托配菜的分类类型 3==外卖分类的分类类型 4==首页分类的分类类型
	 * "buyNum": 0,//购买量，用户外卖订单提交确认和订单列表时有用，菜品列表返回时无效，int类型
	 * "sortId": 0,//分类id，long类型
	 */
	private static final long serialVersionUID = -4761456922396447435L;
	private double            activityPrice;                           //活动价格，如果有活动，则显示此价格，int类型，单位分
	private String            detailUrl;                               //菜品的详情url，String类型
	private long              foodId;                                  //菜品主键编号，long类型
	private String            foodName;                                //菜品名称，String类型
	private String            hasActivity;                             //是否有活动，y=有，n=没有，String类型
	private int               peppery_grade;                           //辣度，int类型，0=不辣，1-5：辣的级别
	private String            picUrl;                                  //封面url，String类型
	private double            price;                                   //价格，int类型，单位分
	private int               recommendNum;                            //推荐量。int类型
	private int               sellNum;                                 //销售量，int类型
	private long              sortId;                                  //"sortId": 0,//分类id，long类型
	private int               buyNum;                                  //"buyNum": 0,//购买量，用户外卖订单提交确认和订单列表时有用，菜品列表返                               
	private String            detailDesc;                              //菜品介绍，String类型
	private List<Integer>     positions;                               //菜品所在分类位置，List<int>类型，1==自主选菜的分类类型，2==委托配菜的分类类型 3==外卖分类的分类类型 4==首页分类的分类类型
	
	public double getActivityPrice() {
		return activityPrice;
	}
	
	public void setActivityPrice(double activityPrice) {
		this.activityPrice = activityPrice;
	}
	
	public String getDetailUrl() {
		return detailUrl;
	}
	
	public void setDetailUrl(String detailUrl) {
		this.detailUrl = detailUrl;
	}
	
	public long getFoodId() {
		return foodId;
	}
	
	public void setFoodId(long foodId) {
		this.foodId = foodId;
	}
	
	public String getFoodName() {
		return foodName;
	}
	
	public void setFoodName(String foodName) {
		this.foodName = foodName;
	}
	
	public String getHasActivity() {
		return hasActivity;
	}
	
	public void setHasActivity(String hasActivity) {
		this.hasActivity = hasActivity;
	}
	
	public int getPeppery_grade() {
		return peppery_grade;
	}
	
	public void setPeppery_grade(int peppery_grade) {
		this.peppery_grade = peppery_grade;
	}
	
	public String getPicUrl() {
		return picUrl;
	}
	
	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl;
	}
	
	public double getPrice() {
		return price;
	}
	
	public void setPrice(double price) {
		this.price = price;
	}
	
	public int getRecommendNum() {
		return recommendNum;
	}
	
	public void setRecommendNum(int recommendNum) {
		this.recommendNum = recommendNum;
	}
	
	public int getSellNum() {
		return sellNum;
	}
	
	public void setSellNum(int sellNum) {
		this.sellNum = sellNum;
	}
	
	public long getSortId() {
		return sortId;
	}
	
	public void setSortId(long sortId) {
		this.sortId = sortId;
	}
	
	public int getBuyNum() {
		return buyNum;
	}
	
	public void setBuyNum(int buyNum) {
		this.buyNum = buyNum;
	}
	
	public String getDetailDesc() {
		return detailDesc;
	}
	
	public void setDetailDesc(String detailDesc) {
		this.detailDesc = detailDesc;
	}

	public List<Integer> getPositions() {
	    return positions;
    }

	public void setPositions(List<Integer> positions) {
	    this.positions = positions;
    }
	
}
